package com.yc.boot.work.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yc.boot.common.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Create with IntelliT IDEA
 *
 * @Author: zhengmingzhe
 * @Date: 2021/12/14/11:35
 * @Description:  班级实体类
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "班级")
@TableName("test_class")
public class TestClass extends BaseEntity {
    @TableField("name")
    @ApiModelProperty("班级名")
    private String name;

    @TableField("number")
    @ApiModelProperty("班级学生人数")
    private String number;

}
